package com.y2.authprj.bean.auth.vo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.y2.authprj.utils.DateUtil;

public class showSysroleAndRoleAuthorityVo {
	private Integer roleId;
	private Integer roleAuthorityId;
	public Integer getRoleAuthorityId() {
		return roleAuthorityId;
	}
	public void setRoleAuthorityId(Integer roleAuthorityId) {
		this.roleAuthorityId = roleAuthorityId;
	}
	private String sysName;
	private Integer deleteFlag;
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	private String funName;
	
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public String getSysName() {
		return sysName;
	}
	public void setSysName(String sysName) {
		this.sysName = sysName;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getFunName() {
		return funName;
	}
	public void setFunName(String funName) {
		this.funName = funName;
	}
	public String getCreateDateStr(){
		return DateUtil.formate(getCreateTime());
	}
}
